package cn.easybuy.service;

import java.util.List;
import java.lang.*;
import cn.easybuy.pojo.Product;

public interface ProductService {
	public List<Product> getProductList(String epcChildId,Integer pageIndex,Integer pageSize) throws Exception;
	
	public Product getProductById(Integer epId)throws Exception;
	
	public int getProductCount(String epcChildId)throws Exception;
	
	//修改商品信息
	public int updataProduct(Product procuct)throws Exception;
	
	//增加商品信息
	public int addProduct(Product product)throws Exception;
	
	//删除商品信息
	public int deleteProduct(Integer epId)throws Exception;
	
	public List<Product> getProductAll()throws Exception;
}
